<%--
 *  File:    ZylOpenAccount.jsp
 *  @Author: yuelongma
 *  Date:    2012/011/13
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>


<%
  //init param
  Category cat = Category.getInstance("jsp.ZylOrgpdGroup");
   
  String strModuleName = "DMS";
  String strTableName = "ovresoninfo";
  Integer sourceorgid = new Integer(-1);
  String contextPath = request.getContextPath();
%>



<%
  //get userinfo
  HashMap CurUserInfo = (HashMap)session.getAttribute("userinfo");

%>
<% //--------------------------------------  include files list --%>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>
<%@ include file="/inc/CatchError.inc" %>

<html>
<head>
<title></title>
<PageFlow:CheckPageFlow pageName="p_zylproductopencloseinfo"/>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath%>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script language="JavaScript" src="<%=contextPath%>/js/FuncLib.js"></script>
<%@ include file="/inc/SummaryDivision.inc" %>

<% 
  Vector totalsummary = (Vector)pageContext.getAttribute("totalsummary");
  if(totalsummary == null)
  {
    totalsummary = new Vector();
  }
%>
</head>
<body>
<table width="100%" cellspacing="0">
 <form name="cform" method="post" action="<%=contextPath%>/Dispatcher" >
   <input type="hidden" name="pagename" value="p_zylproductopencloseinfo">
   <input type="hidden" name="actionname">
   <input type="hidden" name="languagecode" value="<%= strLanguageCode %>">
   <custom:hidden property="orgid"/>

<table width="100%" cellspacing="0">
  <% //--------------------------------------  page location --%>
  <%@ include file="/inc/PageLocation.inc" %>
</table>
<table width="100%" cellspacing="0" border="0" cellpadding="0">
  <tr>
    <td class="summary_top"></td>
  </tr>

  <tr>
    <td>
      <table width="100%" border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellspacing="0" align="center">
          <tr class="deepblue-left" >
            <td class="title_center">&nbsp;</td>
            <td class="title_center"><%= label.getLabelName("L_ProdName")%></td>
            <td class="title_center"><%= label.getLabelName("L_AccountInfo1") %></td>
          </tr>

		  <%
             int j = 0;
             String strClassType = new String();
          %>
          <logic:iterate id="openinfo" collection="<%= totalsummary %>">

         <%
            HashMap openinfoMap = (HashMap)pageContext.getAttribute("openinfo");
            String prodname = (String)openinfoMap.get("brandcode") + (String)openinfoMap.get("spec");
            if(j%2 == 1){
              strClassType = "td-listrom";
            }else{
              strClassType = "";
            }
            j++;
          %>

           <tr onmouseover="this.className='tr-over'" onmouseout="this.className='<%=JspHelper.filterNull(strClassType)%>'" class="<%=JspHelper.filterNull(strClassType)%>">
            <td class="title_center">&nbsp;</td>
            <td><%= prodname %>&nbsp;</td>
            <td><custom:write property="opencloseinfovalue" name="openinfo" dictType="OpenCloseAccount"/></td>
          </tr>
          </logic:iterate>
      </table>
      <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="summary_top"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</form>
</table>
</body>
</html>